package com.lightsnail.app.meta.area.core.controller;

import com.coderman.utils.response.ResultDataDto;
import com.coderman.utils.response.ResultDto;
import com.lightsnail.app.meta.area.core.service.ChinaCityService;
import com.lightsnail.app.meta.area.core.vo.ChinaCityVO;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;


/**
* @Description:控制层
* @Author:fanchunshuai
* @CreateTime:2020-09-14 22:39:21
* @version v1.0
*/
@RestController
public class ChinaCityController extends BaseController {
	
	protected Logger logger = LoggerFactory.getLogger(ChinaCityController.class);

	@Autowired
	private ChinaCityService chinaCityService;


    @RequestMapping(value = "/chinaCity/add",method = RequestMethod.POST)
    public ResultDto add(@RequestBody ChinaCityVO chinaCityVO){
        //todo impl code
		return new ResultDto();
    }

    @RequestMapping(value = "/chinaCity/update",method = RequestMethod.POST)
	public ResultDto update(@RequestBody ChinaCityVO chinaCityVO){
        //todo impl code
		return new ResultDto();
	}

	@PostMapping("/chinaCity/delete")
	public ResultDto delete(){
		//todo impl code
		return new ResultDto();
	}

	@GetMapping("/chinaCity/get")
	public ResultDto getById(@RequestParam(name = "id") String id){
		//todo impl code
		return new ResultDto();
	}

	@GetMapping("/chinaCity/getpage")
	public ResultDataDto getPage(){
		//todo impl code
		return new ResultDataDto();
	}


	@PostMapping("/chinaCity/changestatus")
	public ResultDto changeStatus(){
		//todo impl code
		return new ResultDto();
	}

}
